# 作者：一只牛吗
# 2025 年01月 18日 23时 20分 11秒
# 1278599690@qq.com
import random


def use_elif(holidau_name):
    if holidau_name == '情人节':
        print('情人节快乐！')
    elif holidau_name == '平安夜':
        print('平安夜快乐！')
    elif holidau_name == '圣诞节':
        print('圣诞快乐！')
    elif holidau_name == '生日':
        print('生日快乐！')
    else:
        print('祝臭宝天天开心！')


# holiday_name = input('请输入节日名称：')


# use_elif(holiday_name)

# 石头1，剪刀2，布3
def rock_paper_scissors():
    player_choice = int(input("请输入你的选择(石头1，剪刀2，布3)："))
    computer_choice = random.randint(1, 3)
    if (computer_choice == 2 and player_choice == 1) or (computer_choice == 3 and player_choice == 2) or (
            computer_choice == 1 and player_choice == 3):
        print('You win!')
    elif computer_choice == player_choice:
        print('It is a tie!')
    else:
        print('You lose!')


rock_paper_scissors()
